package com.koron.ticket.workchange.ticketchangeinterrupt.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangeinterrupt.bean.TicketChangeInterrupt;
import com.koron.ticket.workchange.ticketchangeinterrupt.bean.TicketChangeInterruptQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeInterrupt)表服务接口
 *
 * @author 朱超
 * @since 2021-10-27 09:54:10
 */
public interface TicketChangeInterruptService {

    Response insert(SessionFactory factory, TicketChangeInterrupt ticketChangeInterrupt);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeInterrupt ticketChangeInterrupt);

    Response getById(SessionFactory factory, String id);

    TicketChangeInterrupt getSingle(SessionFactory factory, TicketChangeInterruptQuery ticketChangeInterruptQuery);

    List<TicketChangeInterrupt> getList(SessionFactory factory, TicketChangeInterruptQuery ticketChangeInterruptQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
